//
//  YHContributionerModel.h
//  Catches
//
//  Created by jiangqiong on 2018/5/17.
//  Copyright © 2018年 solot. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YHContributeLevelModel;
/**
 地区范围
 
 - YHContributionAreaType_world: 全球
 - YHContributionAreaType_area: 地区
 */
typedef NS_ENUM(NSInteger, YHContributionAreaType) {
    YHContributionAreaType_world,
    YHContributionAreaType_area
};

@interface YHContributionerModel : NSObject

@property (nonatomic , assign)YHContributionAreaType areaType;
@property (nonatomic , assign)NSInteger  rank;
@property (nonatomic , copy)NSString * hasc;
@property (nonatomic , copy)NSString * userno;
@property (nonatomic , copy)NSString * nickname;
@property (nonatomic , copy)NSString * avatar;
@property (nonatomic , assign)NSInteger  contributiveScore;
@property (nonatomic , strong)YHContributeLevelModel * contributiveLevel;
@end


@interface YHContributeLevelModel :NSObject
@property (nonatomic , assign)NSInteger  level;
@property (nonatomic , assign)NSInteger  minScore;
@property (nonatomic , assign)NSInteger  voteValue;
/**
 院士。。 对应本地资源
 */
@property (nonatomic , copy)NSString * levelName;

@end
